package me.zixing.java.jingjing;

import java.util.Scanner;

/**
 * Created by bingh on 2017/12/3.
 */
public class Demo {
    public static void main(String[] args) {
        //读取键盘输入的字符串
        Scanner scanner = new Scanner(System.in);
        String theString = scanner.next();


        boolean flag = true;
        int j = theString.length() - 1;

        for(int i = 0;i<=j;j--,i++){

            if(theString.charAt(i) != theString.charAt(j)){
                flag = false;
                break;
            }
        }

        System.out.println(flag?theString+"是回文":theString+"不是回文");
    }
}
